<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <style>
        .da a{
            display: inline-block;
            position: relative;
            padding: 10px 20px;
            color: white;
            font-size: 16px;
          
        }

       

     .red {
    background-image: url(image/bg1.png);       
}

.blue {
    background-image: url(image/bg2.png);      
}

.purple {
    background-color: #8e44ad;
}


      
    </style>
</head>
<body>
    <div class="da">
        <a href="#" class="button red">五彩导航</a>
        <a href="#" class="button blue">五彩导航</a>
        <a href="#" class="button purple">五彩导航</a>
        <a href="#" class="button purple">五彩导航</a>
    </div>
</body>
</html>
